home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1996 / MacHack 1996.toast / Presentations / Presentations ’92 / Graphics Acceleration Samples / makefile next >
Makefile  |  1991-06-09  |  2KB  |  67 lines

  1. #
  2. #    Apple Macintosh Developer Technical Support
  3. #
  4. #    MultiFinder-Aware Simple Sample Application
  5. #
  6. #    Sample
  7. #
  8. #    [C]Sample.make    -    Make Source
  9. #
  10. #    Copyright © 1988 Apple Computer, Inc.
  11. #    All rights reserved.
  12. #
  13. #    Versions:    1.0                    08/88
  14. #                1.01                11/88
  15. #
  16. #    Components:    Sample.p            November 1, 1988
  17. #                Sample.c            November 1, 1988
  18. #                Sample.a            November 1, 1988
  19. #                Sample.inc1.a        November 1, 1988
  20. #                SampleMisc.a        November 1, 1988
  21. #                Sample.r            November 1, 1988
  22. #                Sample.h            November 1, 1988
  23. #                [P]Sample.make        November 1, 1988
  24. #                [C]Sample.make        November 1, 1988
  25. #                [A]Sample.make        November 1, 1988
  26. #
  27. #    Sample is an example application that demonstrates how to
  28. #    initialize the commonly used toolbox managers, operate 
  29. #    successfully under MultiFinder, handle desk accessories, 
  30. #    and create, grow, and zoom windows.
  31. #
  32. #    It does not by any means demonstrate all the techniques 
  33. #    you need for a large application. In particular, Sample 
  34. #    does not cover exception handling, multiple windows/documents, 
  35. #    sophisticated memory management, printing, or undo. All of 
  36. #    these are vital parts of a normal full-sized application.
  37. #
  38. #    This application is an example of the form of a Macintosh 
  39. #    application; it is NOT a template. It is NOT intended to be 
  40. #    used as a foundation for the next world-class, best-selling, 
  41. #    600K application. A stick figure drawing of the human body may 
  42. #    be a good example of the form for a painting, but that does not 
  43. #    mean it should be used as the basis for the next Mona Lisa.
  44. #
  45. #    We recommend that you review this program or TESample before 
  46. #    beginning a new application.
  47. #
  48.  
  49. # MPW 3.0 and later: We override the default COptions to turn on strict prototyping;
  50. #    add '-r' to your UserStartup when you tire of the warning from Make.
  51. # If you are using MPW 3.0 or later, uncomment the following line:
  52. COptions = -d MPW3 # define MPW3, turn on strict prototyping (-r option)
  53.  
  54. CObjs        = Sample.c.o ∂
  55.         "{Libraries}"Runtime.o ∂
  56.         "{Libraries}"Interface.o ∂
  57.         "{CLibraries}"StdCLib.o
  58.  
  59. PICTer        ƒƒ {CObjs} 
  60.         Link -o {Targ} {CObjs}
  61.         SetFile {Targ} -t APPL -c 'PVWr' -a B
  62.  
  63. PICTer        ƒƒ Sample.r  Sample.res
  64.         Rez -rd -o {Targ} Sample.r -append
  65.  
  66. Sample.c.o    ƒƒ Sample.c 
  67.